<div class="plantillas index">
	<h2><?php echo __('Plantillas'); ?></h2>
	<table cellpadding="0" cellspacing="0">
	<tr>
			<th><?php echo $this->Paginator->sort('titulo'); ?></th>
			<th class="actions"><?php echo __(''); ?></th>
	</tr>
	<?php foreach ($plantillas as $plantilla): ?>
	<tr>

		<td>
		<?php echo $this->Html->link($plantilla['Plantilla']['titulo'],array('controller'=>'plantillas','action'=>'view',$plantilla['Plantilla']['id'])); ?>
		</td>
		<td class="actions">
			<?php echo $this->Html->link(__('Editar'), array('action' => 'edit', $plantilla['Plantilla']['id'])); ?>
			<?php echo $this->Form->postLink(__('Eliminar'), array('action' => 'delete', $plantilla['Plantilla']['id']), null, __('Esta usted seguro que desea eliminar la plantilla?', $plantilla['Plantilla']['id'])); ?>
		</td>
	</tr>
<?php endforeach; ?>
	</table>
	<p>
	<?php
	echo $this->Paginator->counter(array(
	'format' => __('{:page} / {:pages}')));
	?>	</p>
	<div class="paging">
	<?php
		echo $this->Paginator->prev('< ' . __('Anterior'), array(), null, array('class' => 'prev disabled'));
		echo $this->Paginator->numbers(array('separator' => ''));
		echo $this->Paginator->next(__('siguiente') . ' >', array(), null, array('class' => 'next disabled'));
	?>
	</div>
</div>
<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Nueva Plantilla'), array('action' => 'add')); ?></li>
		<li><?php echo $this->Html->link(__('Listar Criterios'), array('controller' => 'criterios', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('Nuevo Criterio'), array('controller' => 'criterios', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('Listar Evaluaciones'), array('controller' => 'evaluations', 'action' => 'index')); ?> </li>
	</ul>
</div>
